#ifndef ENTIER_H
#define ENTIER_H

#include "constante.h"
#include <string>
#include <sstream>
#include "nonComplexe.h"

class entier
{
    int valeur;

    public:
        entier(int);

        constante* operator+(const constante&)const;
        constante* operator*(const constante&)const;
        constante* operator-(const constante&)const;
        constante* operator/(const constante&)const;
        constante* operator-()const;


        constante* operator%(const constante&)const;
        constante* operator!()const;

        std::string print()const {
            std::stringstream ss;
            ss << valeur;
            return ss.str();
        }

        int getVal()const{return valeur;}

};

#endif // ENTIER_H
